using System;

namespace Widgetsphere.Generator.Common.GeneratorFramework
{
	[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
	public class GeneratorProjectAttribute : GeneratorItemAttribute
	{
		protected Type _currentType;
		protected string[] _dependencyList;

		public GeneratorProjectAttribute(string name, Type parentType, Type currentType, string[] dependencyList)
			: base(name, parentType)
		{
			_dependencyList = dependencyList;
			_currentType = currentType;
		}

		public Type CurrentType
		{
			get { return _currentType; }
		}

		public string[] DependencyList
		{
			get { return _dependencyList; }
		}

	}
}
